<?php
$titlePr = 'title'.$rear;
$aliasPr = 'alias'.$rear;
$pricePr = 'price'.$rear;

?>
<div class="menu-search">
<form action="<?php echo base_url().'search.html'; ?>" method="POST">	
	<input class="title-search" type="submit" value=""/>									
	<div class="box-search">
		<p>
			<span>Loại hàng</span>
			<select name="category">
				<option value="0">== Chọn ==</option>
                <?php if(!empty($category)){
                    foreach($category as $ct){
                        echo '<option value="'.$ct->id.'">'.$ct->$titlePr.'</option>';
                    }
                }?>
			</select>
			<span>Hãng</span>
			<select name="manufacturer">
				<option value="0">== Chọn ==</option>
                <?php if(!empty($manufacturer)){
                    foreach($manufacturer as $mf){
                        echo '<option value="'.$mf->id.'">'.$mf->$titlePr.'</option>';
                    }
                }?>
			</select>
			<input name="code" type="text" value="ID từ khóa..."/>
            <input class="search" type="submit" value="<?php echo $this->lang->line('search_title') ?>"/>
		</p>
	</div>
 </form>
</div><!-- end menu-search -->
---------------
<form action="<?php echo base_url().'search.html'; ?>" method="POST">	
    <div class="box-search clearfix">
    	<input class="ip-1" type="text" title="Nhập từ khóa tìm kiếm..." value=""/>
    	<input class="ip-2" type="submit" value=""/>
    </div>
</form>